//
//  JJResourceListModel.swift
//  JJAlbumFramework
//
//  Created by 吴梓杭 on 2025/10/20.
//

import Foundation
import YYModel

public class JJResourceListModel: NSObject, YYModel {
    @objc public var current: Int = 0
    @objc public var pages: Int = 0
    @objc public var size: Int = 0
    @objc public var total: Int = 0
    @objc public var media: [JJResourceModel]?
    
    @objc public static func modelContainerPropertyGenericClass() -> [String : Any]? {
        return ["media": JJResourceModel.self] // 确保 "media" 是 JSON 中的字段名
    }
}
